﻿using System.Collections.Generic;
using System.Linq;
using YawetagDemo.Framework.Data;

namespace YawetagDemo.Framework.Impl.Data
{
    public partial class Artist : IArtist
    {
        IPerson IArtist.Person
        {
            get { return Person; }
        }

        IList<IBand> IArtist.Bands
        {
            get { return BandArtists.Select(i => i.Band).OfType<IBand>().ToList(); }
        }
    }
}
